﻿using ThresholdAssistant.Dapper;
using ThresholdAssistant.WebAPI.Models;

namespace ThresholdAssistant.WebAPI.Repository
{
    /// <summary>
    /// 基础数据业务处理类
    /// </summary>
    public class BaseRepository
    {
        ///// <summary>
        ///// MSSQL数据库访问工具类
        ///// </summary>
        //protected static readonly MsSqlDapperClient msdb = new MsSqlDapperClient(HardCodeConstant.MsSqlConnectionName);

        /// <summary>
        /// MySQL数据库访问工具类
        /// </summary>
        protected static readonly MySqlDapperClient mydb = new MySqlDapperClient(HardCodeConstant.MySqlConnectionName);

    }
}